package com.jt.mapper;

import com.jt.pojo.User;
import org.apache.ibatis.annotations.Delete;

import java.util.List;

public interface UserMapper {

    List<User> findAll();

    @Delete("delete from demo_user where id=#{id}")
    void deleteUserById(Integer id);


}